package com.ruoyi.equ.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 设备送检对象 equ_inspection
 * 
 * @author luguanqing
 * @date 2020-10-29
 */
public class EquInspection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 送检id */
    private String id;

    /** 送检单号 */
    @Excel(name = "送检单号")
    private String inspectionNum;

    /** 送检单号数组 */
    @Excel(name = "送检单号数组")
    private String[] insNum;

    /** 制单人 */
    @Excel(name = "制单人")
    private String voucher;

    /** 制单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "制单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vochtime;

    /** 审批人 */
    @Excel(name = "审批人")
    private String approver;

    /** 审批意见 */
    @Excel(name = "审批意见")
    private String approContent;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approtime;


    /** 审批结果 */
    @Excel(name = "审批结果")
    private String approResult;

    /** 检验状态 */
    private String insState;


    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setInspectionNum(String inspectionNum) 
    {
        this.inspectionNum = inspectionNum;
    }

    public String getInspectionNum() 
    {
        return inspectionNum;
    }
    public void setVoucher(String voucher) 
    {
        this.voucher = voucher;
    }

    public String getVoucher() 
    {
        return voucher;
    }
    public void setVochtime(Date vochtime)
    {
        this.vochtime = vochtime;
    }

    public Date getVochtime()
    {
        return vochtime;
    }
    public void setApprover(String approver) 
    {
        this.approver = approver;
    }

    public String getApprover() 
    {
        return approver;
    }
    public void setApproContent(String approContent) 
    {
        this.approContent = approContent;
    }

    public String getApproContent() 
    {
        return approContent;
    }

    public Date getApprotime() {
        return approtime;
    }

    public void setApprotime(Date approtime) {
        this.approtime = approtime;
    }

    public void setApproResult(String approResult)
    {
        this.approResult = approResult;
    }

    public String getApproResult() 
    {
        return approResult;
    }

    public String[] getInsNum() {
        return insNum;
    }

    public void setInsNum(String[] insNum) {
        this.insNum = insNum;
    }

    public String getInsState() {
        return insState;
    }

    public void setInsState(String insState) {
        this.insState = insState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inspectionNum", getInspectionNum())
            .append("voucher", getVoucher())
            .append("vochtime", getVochtime())
            .append("approver", getApprover())
            .append("approContent", getApproContent())
            .append("approResult", getApproResult())
            .append("approtime", getApprotime())
            .append("insState", getInsState())
            .toString();
    }
}
